package cn.tedu._05mvcboot03.mapper;

import cn.tedu._05mvcboot03.pojo.dto.UserLoginDTO;
import cn.tedu._05mvcboot03.pojo.entity.Article;
import cn.tedu._05mvcboot03.pojo.vo.ArticleVO;
import cn.tedu._05mvcboot03.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface Usermapper {
    UserVO loginSelect(@Param("username") String username,
                       @Param("password") String password);

    int insert(Article article);

    ArticleVO selectByArticleId(Long id);
}
